package ro.sergiu.configmanager.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Property Name can be used when the name of the filed is not the same with the
 * key value from property file
 *
 * @author Toporjinschi
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface PropertyName {

    /**
     * The key name from property file which will be stored in field
     *
     * @return
     */
    String value();
}
